﻿using FreeSql.DataAnnotations;
using Newtonsoft.Json;
using System;

namespace NlpTrainApp.Bll.Model.Dao
{

    [JsonObject(MemberSerialization.OptIn), Table(Name = "examples_example", DisableSyncStructure = true)]
    public partial class Examples_example
    {

        [JsonProperty, Column(Name = "id", IsPrimary = true)]
        public int Id { get; set; }

        [JsonProperty, Column(Name = "annotations_approved_by_id")]
        public int? Annotations_approved_by_id { get; set; }

        [JsonProperty, Column(Name = "uuid", DbType = "CHAR(32)", IsNullable = false)]
        public string Uuid { get; set; }

        [JsonProperty, Column(Name = "meta", StringLength = -2, IsNullable = false)]
        public string Meta { get; set; }

        [JsonProperty, Column(Name = "filename", DbType = "VARCHAR(1024)", IsNullable = false)]
        public string Filename { get; set; }

        [JsonProperty, Column(Name = "text", StringLength = -2)]
        public string Text { get; set; }

        [JsonProperty, Column(Name = "created_at")]
        public DateTime Created_at { get; set; }

        [JsonProperty, Column(Name = "updated_at")]
        public DateTime Updated_at { get; set; }

        [JsonProperty, Column(Name = "project_id", DbType = "BIGINT")]
        public long Project_id { get; set; }

        [JsonProperty, Column(Name = "upload_name", DbType = "VARCHAR(512)", IsNullable = false)]
        public string Upload_name { get; set; }

        [JsonProperty, Column(Name = "score", DbType = "REAL")]
        public float Score { get; set; }

    }

}
